//	TDD file
bool test()
{
	IplImage *img = cvLoadImage("img1.jpeg",1);
	CvPoint *points = new CvPoints[4];

	PlateLocalization::Instance()->FindSquares(img, CvPoints);
	if (!Check(points, 114, 121))
		return false;

	img = cvLoadImage("img2.jpeg",1);
	PlateLocalization::Instance()->FindSquares(img, CvPoints);
	if (!Check(points, 114, 121))
		return false;

	img = cvLoadImage("img3.jpeg",1);
	PlateLocalization::Instance()->FindSquares(img, CvPoints);
	if (!Check(points, 114, 121))
		return false;

	img = cvLoadImage("img4.jpeg",1);
	PlateLocalization::Instance()->FindSquares(img, CvPoints);
	if (!Check(points, 114, 121))
		return false;

	img = cvLoadImage("img5.jpeg",1);
	PlateLocalization::Instance()->FindSquares(img, CvPoints);
	if (!Check(points, 114, 121))
		return false;

	return true;
}